package com.ehl.controller.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.ehl.controller.frombean.loginBean;
import com.ehl.mvc.core.Action;
import com.ehl.mvc.core.ActionForm;

public class loginAction implements Action{

	@Override
	public String execute(HttpServletRequest request,
			HttpServletResponse response, ActionForm form) {
		loginBean f = (loginBean)form;
		System.out.println("loginAction Action username:" + f.getUsername());
		System.out.println("loginAction Action password:" + f.getPassword());
		
		return "success";
	}
}